import { createI18n } from 'vue-i18n'
import af from './af.js'
import ar from './ar.js'
import bg from './bg.js'
import bn from './bn.js'
import cs from './cs.js'
import da from './da.js'
import de from './de.js'
import el from './el.js'
import en from './en.js'
import es from './es.js'
import et from './et.js'
import fi from './fi.js'
import fr from './fr.js'
import he from './he.js'
import hi from './hi.js'
import hr from './hr.js'
import hu from './hu.js'
import id from './id.js'
import it from './it.js'
import ja from './ja.js'
import kn from './kn.js'
import ko from './ko.js'
import lt from './lt.js'
import lv from './lv.js'
import ms from './ms.js'
import mr from './mr.js'
import nb from './nb.js'
import nl from './nl.js'
import pl from './pl.js'
import pt from './pt.js'
import ro from './ro.js'
import sk from './sk.js'
import sl from './sl.js'
import sr from './sr.js'
import sv from './sv.js'
import sw from './sw.js'
import ta from './ta.js'
import th from './th.js'
import tr from './tr.js'
import vi from './vi.js'
import zh from './zh.js'



const i18n = createI18n({
  locale: 'en', // 设置当前语言为英文
  legacy: false,
  messages: {
    af,
    ar,
    bg,
    bn,
    cs,
    da,
    de,
    el,
    en,
    es,
    et,
    fi,
    fr,
    he,
    hi,
    hr,
    hu,
    id,
    it,
    ja,
    kn,
    ko,
    lt,
    lv,
    ms,
    mr,
    nb,
    nl,
    pl,
    pt,
    ro,
    sk,
    sl,
    sr,
    sv,
    sw,
    ta,
    th,
    tr,
    vi,
    zh,
  }
})

export default i18n